package com.springboot.astra.service;

import com.springboot.astra.bean.Permission;

import java.util.List;

public interface PermissionService {
    Permission getOneById(Integer id);
    List<Permission> getAll();
    void insertPermission(Permission permission);
    void updateOneById(Permission permission);
    void deleteOneById(Integer id);
}
